export default {
    name: 'RenderColumn',
    functional: true,
    props: {
        render: Function,
        row: Object,
        column: Object,
        index: Number,
        data: Array
    },
    render: (h, ctx) => {
        const params = {
            column: ctx.props.column,
            index: ctx.props.index,
            row: ctx.props.row,
            data: ctx.props.data
        };

        return ctx.props.render(h, params);
    }
    
}